package com.yiyuan.weixin.Common;

/**
 * Created by admin on 2017/3/22.
 */
public class GlobalConstant {



    public static  boolean LOCATION_CHENK=false;
    public static final String ACCESS_TOKEN="YlVEzY3c1YXfnAXDNgkPWx7ERmfwuEXIFyJ_2Y9nCQbMUedT7RSTWylNrX7aANLsIbcN8CKj7-J2PGPAF_LPMkshgu_TMCK6qBvWNKrS_ysDRLiAAAHVP";
    public static final String BASE_URL="https://api.weixin.qq.com/cgi-bin/menu/get?access_token=ACCESS_TOKEN";
    public static final String APPID="wx18e2f384ac4f35e2";
    public static final String APPSECRET="f9ae96623114f3d34077dfd21411ed2d";
    /*获取access_token*/
    public static final String access_tokenUrl="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="+APPID+"&secret="+APPSECRET;
    /*创建菜单*/
    public static final String create_menu="https://api.weixin.qq.com/cgi-bin/menu/create?access_token=";
    /*删除当前使用的菜单*/
    public static final String delete_menu="https://api.weixin.qq.com/cgi-bin/menu/delete?access_token=";
    /*自定义菜单查询*/
    public static final String get_menu="https://api.weixin.qq.com/cgi-bin/menu/get?access_token=";
//    public static final String TOKEN_URL="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid="
//            +APPID+"&secret="
//
//    https://api.weixin.qq.com/cgi-bin/menu/create?access_token=ACCESS_TOKEN


    /*创建分组*/
    public static final String create_ground="https://api.weixin.qq.com/cgi-bin/groups/create?access_token=";
    /*查询用户所在分组*/
    public static final String getGroud="https://api.weixin.qq.com/cgi-bin/groups/getid?access_token=";
    /*移动用户到分组*/
    public static final String gorund_update="https://api.weixin.qq.com/cgi-bin/groups/members/update?access_token=";//ACCESS_TOKEN

    /*获取用户基本信息*/
    public static final String getUserInfo="https://api.weixin.qq.com/cgi-bin/user/info?access_token="+ACCESS_TOKEN+"&openid=oF4Jsw5P1qKsJghr6mCiqNRcdRQo"+"&lang=zh_CN";
    /*接收用户消息MsgType*/
    public static final String TEXT = "text";
    public static final String IMAGE = "image";
    public static final String VOICE = "voice";
    public static final String VIDEO = "video";
    public static final String SHORTVIDEO="shortvideo";
    public static final String LOCATION="location";
    public static final String LINK="link";

    public static final String EVENT="event";

   /* 被动回复消息MsgType*/
    public static final String MUSIC = "music";
    public static final String NEWS = "news";

    /*事件类型Event*/
    public static final String Event_subscribe="subscribe";//(订阅);
    public static final String Event_unsubscribe="unsubscribe";//(取消订阅);
    public static final String Event_SCAB="SCAN";
    public static final String Event_LOCATION="LOCATION";
    public static final String CLICK="CLICK";
    public static final String VIEW="VIEW";
    public static final  String Event_CLICK="CLICK";
    public static final  String Event_VIEW="VIEW";
    /*事件KEY值EventKey*/
            //行情",
            public static final  String TY_KEY_HQ="ty_key_hq";
            //卖出",
            public static final  String TY_KEY_SELL="ty_key_sell";
            //买入",
            public static final  String TY_KEY_BUY="ty_key_buy";
            //挂单卖出",
            public static final  String TY_KEY_SELL_BOOK="ty_key_sell_book";
            //挂单买入",
            public static final  String TY_KEY_BUY_BOOK="ty_key_buy_book";
            //"资产",
            public static final  String TY_KEY_BALABCE="ty_key_balance";
            //"订单",
            public static final  String TY_KEY_ORDER="ty_key_order";
            //等级",
            public static final  String TY_KEY_LEVEL="ty_key_level";


    public static final String BASE_API_URL="";


}
